Skip to main content

mergDocIcon

Type

function

Summary

Get the icon for a document as image data

Syntax

mergDocIcon(<pFilePath>, <pIconSize>)

Description

Get the icon for a document as image data

Parameters

NameTypeDescription

pFilePath

the full path of the document.

pIconSize

the width,height as returned from mergDocIconSizes.

Examples

put mergDocIcon(specialFolderPath("engine")&"/pdfs/help.pdf",line 1 of mergDocIconSizes( specialFolderPath("engine")&"/pdfs/help.pdf")) into image "icon"

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?